package fr.babostesting.examples.mobile.controllers.pages 
{
	import fr.babos.core.mvc.concrete.ViewController;
	import fr.babostesting.examples.mobile.views.pages.TweetListView;
	
	/**
	 * @author ZoulouX
	 */
	public class TweetListViewController extends ViewController
	{
		/**
		 * Constructeur
		 */
		public function TweetListViewController ()
		{
			super();
			
			trace("TweetListViewController{}");
		}
		
		/**
		 * Démarrage
		 */
		override public function turnOn (pContextInfo:Object = null):void
		{
			trace("TweetListController.turnOn");
			
			// Attacher la vue
			attachView(TweetListView);
			
			turnOnView(pContextInfo);
		}
		
		override public function turnOff (pContextInfo:Object = null):void
		{
			trace("TweetListViewController.turnOff()");
			
			// Arrêter la vue
			turnOffView(pContextInfo);
		}
		
		override public function dispose ():void
		{
			trace("TweetListViewController.dispose()");
			
			super.dispose();
		}
	}
}